package com.xmut.xmutbackend.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("users")
public class Users {
    private Integer id;
    private String username;
    private String password;
    private Integer status;
    private String email;
    private String Token;
    private String avatar;
    
    /**
     * 自定义setter，设置Token字段
     */
    public void setToken(String token) {
        this.Token = token;
    }
}